.shinylive-viewer {
  height: 100%;
  width: 100%;
  position: relative;
}

.app-frame {
  border-radius: var(--panel-roundness);
  border: 0;
}

.shinylive-viewer iframe {
  background-color: white;
  width: 100%;
  height: 100%;
  display: block;
}

.shinylive-viewer .loading-wrapper {
  overflow: auto;
  background-color: white;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0px;
  left: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shinylive-viewer .loading-wrapper.loading-wrapper-error {
  justify-content: left;
}

.shinylive-viewer .loading-wrapper .error-alert {
  text-align: center;
  font-size: 1.4rem;
  font-family: var(--font-face);
  -webkit-animation: loading-animation-fade-in 0.5s;
  animation: loading-animation-fade-in 0.5s;
}

.shinylive-viewer .loading-wrapper .error-alert .error-icon {
  display: inline-block;
  text-align: center;
  width: 85px;
  margin-bottom: 0.5rem;
}

.shinylive-viewer .loading-wrapper .error-alert .error-log {
  font-size: 0.7rem;
  text-align: left;
  padding: 0.3rem;
}

@keyframes loading-animation-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
